/*
 * CStateCollection.h
 *
 *  Created on: Nov 7, 2011
 *      Author: welcome
 */

#ifndef CSTATECOLLECTION_H_
#define CSTATECOLLECTION_H_
#include <StateMachine/CState.h>
#include <vector>
using namespace std;
namespace GGEngine {
class CStateCollection {
public:
	CStateCollection();
	virtual ~CStateCollection();

	int stateCount();

	void addState(CState *state);

    vector<CState*> getStateList() const
    {
        return stateList;
    }

    void setStateList(vector<CState*> stateList)
    {
        this->stateList = stateList;
    }
private:
	vector<CState*> stateList;
};
}
#endif /* CSTATECOLLECTION_H_ */
